package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.hst.core.annotation.Comment;
import com.hst.core.annotation.HSID;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_review_history")
@Comment("复核记录表")
@HSID(length = 10, prefix = "H", resetByDay = true)
public class TReivewHistory extends BaseEntity {

	@Id
	@Column(name = "id", length = 10)
	@Comment("id")
	@GeneratedValue(generator = "hsid")
	@GenericGenerator(name = "hsid", strategy = "com.hst.core.hbm.HSIDGenerator")
	private String id;

	@Column(name = "review_type", length = 2, nullable = true)
	@Comment("复核类型,0-人员复核,1-车辆复核")
	private String reviewType;

	@Column(name = "employee_code", length = 16)
	@Comment("人员编号")
	private String employeeCode;

	@Column(name = "vehicle_code", length = 20)
	@Comment("车辆编号")
	private String vehicleCode;

	@Column(name = "concern_type", length = 2)
	@Comment("关注类型")
	private String concernType;

	@Column(name = "main_type", length = 2)
	@Comment("重点类型")
	private String mainType;

	@Column(name = "concern_desc", length = 255)
	@Comment("关注描述")
	private String concernDesc;

	@Column(name = "review_status", length = 2)
	@Comment("复核状态:1通过,2不通过")
	private String reviewStatus;

	@Column(name = "remark", length = 255)
	@Comment("意见")
	private String remark;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReviewType() {
		return reviewType;
	}

	public void setReviewType(String reviewType) {
		this.reviewType = reviewType;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getVehicleCode() {
		return vehicleCode;
	}

	public void setVehicleCode(String vehicleCode) {
		this.vehicleCode = vehicleCode;
	}

	public String getReviewStatus() {
		return reviewStatus;
	}

	public void setReviewStatus(String reviewStatus) {
		this.reviewStatus = reviewStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getConcernType() {
		return concernType;
	}

	public void setConcernType(String concernType) {
		this.concernType = concernType;
	}

	public String getConcernDesc() {
		return concernDesc;
	}

	public void setConcernDesc(String concernDesc) {
		this.concernDesc = concernDesc;
	}

	public String getMainType() {
		return mainType;
	}

	public void setMainType(String mainType) {
		this.mainType = mainType;
	}

}
